projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44432a
)
Fix dired switch (that contain quotes and spaces) parsing
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 19 Aug 2021 14:21:07 +0000
(16:21 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 19 Aug 2021 14:21:07 +0000
(16:21 +0200)
* lisp/files.el (insert-directory): Tokenize shell strings
correctly (bug#18875).
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 875ac55316625a7081997de2e6f0070cdd9888d6..77977f141163aaf080b791b7865802e0bb13d124 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-7463,7
+7463,7
@@
normally equivalent short `-D' option is just passed on to
(unless (equal switches "")
;; Split the switches at any spaces so we can
;; pass separate options as separate args.
- (split-string-
and-unquote
switches)))
+ (split-string-
shell-command
switches)))
;; Avoid lossage if FILE starts with `-'.
'("--")
(list file))))))